<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>Duye SDK User Wizard: duye::CfgMgr Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Duye SDK User Wizard
   &#160;<span id="projectnumber">V1.0.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>duye</b></li><li class="navelem"><a class="el" href="classduye_1_1_cfg_mgr.html">CfgMgr</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classduye_1_1_cfg_mgr-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">duye::CfgMgr Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>configuration manager class  
 <a href="classduye_1_1_cfg_mgr.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="duye__cfg__mgr_8h_source.html">duye_cfg_mgr.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr_1_1_param_node.html">ParamNode</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a62246fb22190f36d6ccf415d3afb0daf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62246fb22190f36d6ccf415d3afb0daf"></a>
typedef std::list&lt; <a class="el" href="classduye_1_1_cfg_mgr_1_1_param_node.html">ParamNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ParamNodeList</b></td></tr>
<tr class="separator:a62246fb22190f36d6ccf415d3afb0daf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5c40c59a30b47b14c230ac8fc23e8c68"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#a5c40c59a30b47b14c230ac8fc23e8c68">load</a> (const std::string &amp;filePath)</td></tr>
<tr class="separator:a5c40c59a30b47b14c230ac8fc23e8c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44189e43c4b5da93417d1d1158d6fc62"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#a44189e43c4b5da93417d1d1158d6fc62">setValue</a> (const std::string &amp;path, const bool value, const std::string &amp;attName)</td></tr>
<tr class="memdesc:a44189e43c4b5da93417d1d1158d6fc62"><td class="mdescLeft">&#160;</td><td class="mdescRight">get configuration value  <a href="#a44189e43c4b5da93417d1d1158d6fc62"></a><br/></td></tr>
<tr class="separator:a44189e43c4b5da93417d1d1158d6fc62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa59763d750ba43df1c9e5af069a707da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa59763d750ba43df1c9e5af069a707da"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const bool value)</td></tr>
<tr class="separator:aa59763d750ba43df1c9e5af069a707da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab954a0b20ab8a8233cbb2f2c2ecea535"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab954a0b20ab8a8233cbb2f2c2ecea535"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int32 value, const std::string &amp;attName)</td></tr>
<tr class="separator:ab954a0b20ab8a8233cbb2f2c2ecea535"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58919a0bbbf8510d1ee7661cc412c828"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58919a0bbbf8510d1ee7661cc412c828"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int32 value)</td></tr>
<tr class="separator:a58919a0bbbf8510d1ee7661cc412c828"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade5c77940558008839e20ecb65934689"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade5c77940558008839e20ecb65934689"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int64 value, const std::string &amp;attName)</td></tr>
<tr class="separator:ade5c77940558008839e20ecb65934689"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab488e75b9fe73cd5b9442b9d7ad8365c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab488e75b9fe73cd5b9442b9d7ad8365c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int64 value)</td></tr>
<tr class="separator:ab488e75b9fe73cd5b9442b9d7ad8365c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7a1f65cb71633e513d10c6454c32ecc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7a1f65cb71633e513d10c6454c32ecc"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const uint32 value, const std::string &amp;attName)</td></tr>
<tr class="separator:ab7a1f65cb71633e513d10c6454c32ecc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a962d30aa31f4c4a2ba5de3791ea91656"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a962d30aa31f4c4a2ba5de3791ea91656"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const uint32 value)</td></tr>
<tr class="separator:a962d30aa31f4c4a2ba5de3791ea91656"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7027199972464ecf6c5dd59c76829cbd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7027199972464ecf6c5dd59c76829cbd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const uint64 value, const std::string &amp;attName)</td></tr>
<tr class="separator:a7027199972464ecf6c5dd59c76829cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f37bfb8aef41c13fc83e1609cb9f274"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f37bfb8aef41c13fc83e1609cb9f274"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const uint64 value)</td></tr>
<tr class="separator:a2f37bfb8aef41c13fc83e1609cb9f274"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66ca4afb13d888aaa9f1fb4c21043b14"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a66ca4afb13d888aaa9f1fb4c21043b14"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int8 *value, const std::string &amp;attName)</td></tr>
<tr class="separator:a66ca4afb13d888aaa9f1fb4c21043b14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaee4de6f097e10bd1e93a17082e5785c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaee4de6f097e10bd1e93a17082e5785c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const int8 *value)</td></tr>
<tr class="separator:aaee4de6f097e10bd1e93a17082e5785c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b3280793514df3fc2a0d27c2c54f3a8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b3280793514df3fc2a0d27c2c54f3a8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const std::string &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:a0b3280793514df3fc2a0d27c2c54f3a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2e9d4bde1eeb46357768167ef41c7fd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2e9d4bde1eeb46357768167ef41c7fd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>setValue</b> (const std::string &amp;path, const std::string &amp;value)</td></tr>
<tr class="separator:ae2e9d4bde1eeb46357768167ef41c7fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae47dc616788976d3ef3e8dc0cce00cc9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#ae47dc616788976d3ef3e8dc0cce00cc9">getValue</a> (const std::string &amp;path, bool &amp;value, const std::string &amp;attName)</td></tr>
<tr class="memdesc:ae47dc616788976d3ef3e8dc0cce00cc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">get configuration value  <a href="#ae47dc616788976d3ef3e8dc0cce00cc9"></a><br/></td></tr>
<tr class="separator:ae47dc616788976d3ef3e8dc0cce00cc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd5eefbf5938cfd0d213798bb35527ac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd5eefbf5938cfd0d213798bb35527ac"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, bool &amp;value)</td></tr>
<tr class="separator:acd5eefbf5938cfd0d213798bb35527ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0bc03a832dfd9e5bd8baa2c022c8fd5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0bc03a832dfd9e5bd8baa2c022c8fd5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int16 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:af0bc03a832dfd9e5bd8baa2c022c8fd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0607ea727b32a056cd3f47d97fe6b5d5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0607ea727b32a056cd3f47d97fe6b5d5"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int16 &amp;value)</td></tr>
<tr class="separator:a0607ea727b32a056cd3f47d97fe6b5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad044f14d742260bab746511f6f32b1d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad044f14d742260bab746511f6f32b1d8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int32 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:ad044f14d742260bab746511f6f32b1d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23542727cf73542159a94b0f2aa16fb6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23542727cf73542159a94b0f2aa16fb6"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int32 &amp;value)</td></tr>
<tr class="separator:a23542727cf73542159a94b0f2aa16fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04050445640538cb4d7303f366fafc03"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04050445640538cb4d7303f366fafc03"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int64 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:a04050445640538cb4d7303f366fafc03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc3ec977d864db68eea721291977ff55"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc3ec977d864db68eea721291977ff55"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, int64 &amp;value)</td></tr>
<tr class="separator:adc3ec977d864db68eea721291977ff55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58970bbc0e6b63b414153ec8cef233a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a58970bbc0e6b63b414153ec8cef233a0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint16 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:a58970bbc0e6b63b414153ec8cef233a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a593c8f5b063e6549ad4ad3097a579802"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a593c8f5b063e6549ad4ad3097a579802"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint16 &amp;value)</td></tr>
<tr class="separator:a593c8f5b063e6549ad4ad3097a579802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7adfe89f4d0451bb6eb066e2886403b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7adfe89f4d0451bb6eb066e2886403b8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint32 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:a7adfe89f4d0451bb6eb066e2886403b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcbf9365a2548c974c78037dbe7cdb87"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abcbf9365a2548c974c78037dbe7cdb87"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint32 &amp;value)</td></tr>
<tr class="separator:abcbf9365a2548c974c78037dbe7cdb87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af15b09910b2ba5fd5e74cc43894912d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af15b09910b2ba5fd5e74cc43894912d8"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint64 &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:af15b09910b2ba5fd5e74cc43894912d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16294619c3bd76141b7e8c2dca99c80b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16294619c3bd76141b7e8c2dca99c80b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, uint64 &amp;value)</td></tr>
<tr class="separator:a16294619c3bd76141b7e8c2dca99c80b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a287d6ce7637093ed14c00893491091"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a287d6ce7637093ed14c00893491091"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, std::string &amp;value, const std::string &amp;attName)</td></tr>
<tr class="separator:a0a287d6ce7637093ed14c00893491091"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa969548d49c9ba078754a8f8e1a8c47e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa969548d49c9ba078754a8f8e1a8c47e"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, std::string &amp;value)</td></tr>
<tr class="separator:aa969548d49c9ba078754a8f8e1a8c47e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af32d7cf6fdb21d308b58be05f034eccc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af32d7cf6fdb21d308b58be05f034eccc"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path, const std::string &amp;attName)</td></tr>
<tr class="separator:af32d7cf6fdb21d308b58be05f034eccc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af53956e9d52009e7260dc187efe0eab0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af53956e9d52009e7260dc187efe0eab0"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const int8 *path, const int8 *attName)</td></tr>
<tr class="separator:af53956e9d52009e7260dc187efe0eab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9536b943b98ff61393fa00c2db0dc0ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9536b943b98ff61393fa00c2db0dc0ee"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const std::string &amp;path)</td></tr>
<tr class="separator:a9536b943b98ff61393fa00c2db0dc0ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b269741471254e5dee5532f6bd9619e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b269741471254e5dee5532f6bd9619e"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getValue</b> (const int8 *path)</td></tr>
<tr class="separator:a1b269741471254e5dee5532f6bd9619e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a979f2fc6da5908e73d38edde916ca3e0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a979f2fc6da5908e73d38edde916ca3e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>getNodes</b> (const std::string &amp;path, const std::list&lt; std::string &gt; &amp;attrList, ParamNodeList &amp;nodeList)</td></tr>
<tr class="separator:a979f2fc6da5908e73d38edde916ca3e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c35efb5db02afc91a0ca366db2ac0f6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#a8c35efb5db02afc91a0ca366db2ac0f6">save</a> ()</td></tr>
<tr class="memdesc:a8c35efb5db02afc91a0ca366db2ac0f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">save configuration  <a href="#a8c35efb5db02afc91a0ca366db2ac0f6"></a><br/></td></tr>
<tr class="separator:a8c35efb5db02afc91a0ca366db2ac0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7afc0b0deba6f897392f133105f44918"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#a7afc0b0deba6f897392f133105f44918">toString</a> (std::string &amp;outString)</td></tr>
<tr class="memdesc:a7afc0b0deba6f897392f133105f44918"><td class="mdescLeft">&#160;</td><td class="mdescRight">printf config  <a href="#a7afc0b0deba6f897392f133105f44918"></a><br/></td></tr>
<tr class="separator:a7afc0b0deba6f897392f133105f44918"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8676eff8ee7ad7e7934f167f134d2f3"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classduye_1_1_cfg_mgr.html#ad8676eff8ee7ad7e7934f167f134d2f3">getConfPath</a> () const </td></tr>
<tr class="memdesc:ad8676eff8ee7ad7e7934f167f134d2f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">get config file path  <a href="#ad8676eff8ee7ad7e7934f167f134d2f3"></a><br/></td></tr>
<tr class="separator:ad8676eff8ee7ad7e7934f167f134d2f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8908b20d9f27c671533d9ff00fed239e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8908b20d9f27c671533d9ff00fed239e"></a>
static <a class="el" href="classduye_1_1_cfg_mgr.html">CfgMgr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>ins</b> ()</td></tr>
<tr class="separator:a8908b20d9f27c671533d9ff00fed239e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>configuration manager class </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ad8676eff8ee7ad7e7934f167f134d2f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; duye::CfgMgr::getConfPath </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get config file path </p>
<dl class="section return"><dt>Returns</dt><dd>path </dd></dl>

</div>
</div>
<a class="anchor" id="ae47dc616788976d3ef3e8dc0cce00cc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool duye::CfgMgr::getValue </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>attName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get configuration value </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>: parameter path, like : dfscfg.server.port </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">value</td><td>: get value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl>
<dl class="section note"><dt>Note</dt><dd>: ex : getValue("node:global.param:cpu_precent", value); getValue("node_name:name_value.node_name:name_value", value); &lt;mangjing&gt; &lt;node name="global"&gt; <pre class="fragment">&lt;param name="mangjing_root" value="/etc/mangjing/"&gt;

&lt;param name="cpu_precent" value="30"&gt;
</pre> &lt;/node&gt; &lt;node name="module"&gt; <pre class="fragment">&lt;param name="sys_info" status="on"/&gt;
</pre> &lt;/node&gt; &lt;/mangjing&gt; </dd></dl>

</div>
</div>
<a class="anchor" id="a5c40c59a30b47b14c230ac8fc23e8c68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool duye::CfgMgr::load </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>filePath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>load configuration </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">filePath</td><td>: configuration file full path </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl>

</div>
</div>
<a class="anchor" id="a8c35efb5db02afc91a0ca366db2ac0f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool duye::CfgMgr::save </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>save configuration </p>
<dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl>

</div>
</div>
<a class="anchor" id="a44189e43c4b5da93417d1d1158d6fc62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool duye::CfgMgr::setValue </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>attName</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get configuration value </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>: parameter path, like : dfscfg.server.port </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">value</td><td>: get value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl>
<dl class="section note"><dt>Note</dt><dd>: ex : setValue("node:global.param:cpu_precent", value); &lt;mangjing&gt; &lt;node name="global"&gt; <pre class="fragment">&lt;param name="mangjing_root" value="/etc/mangjing/"&gt;

&lt;param name="cpu_precent" value="30"&gt;
</pre> &lt;/node&gt; &lt;node name="module"&gt; <pre class="fragment">&lt;param name="sys_info" status="on"/&gt;
</pre> &lt;/node&gt; &lt;/mangjing&gt; </dd></dl>

</div>
</div>
<a class="anchor" id="a7afc0b0deba6f897392f133105f44918"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void duye::CfgMgr::toString </td>
          <td>(</td>
          <td class="paramtype">std::string &amp;&#160;</td>
          <td class="paramname"><em>outString</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>printf config </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>Z:/duye/src/duyebase/public/<a class="el" href="duye__cfg__mgr_8h_source.html">duye_cfg_mgr.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Feb 27 2017 15:19:17 for Duye SDK User Wizard by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3
</small></address>
</body>
</html>
